Silk 丝路

by silk

Free Download 1 Visit Website

Versions:

  • 1.2.1
  • 1.0.1

Silk is a desktop AI gateway that provides a single local endpoint for several model providers and converts between three major API protocols. Built with Tauri 2 and a Rust and Axum backend, it runs on the desktop and exposes a local HTTP endpoint on the loopback address at port 1877. Clients such as ChatBox, LobeChat, VS Code plugins and other OpenAI-compatible tools are pointed at this one address, and Silk routes each request to the right provider based on the model name. Requests may arrive in OpenAI Chat, Claude Messages or OpenAI Responses format and are translated to the protocol of the upstream provider, with the response converted back for the client; a Gemini conversion is still in development. A three-level fallback handles failures: after an upstream timeout the request is retried with exponential backoff, then another API key is tried, then another provider. All data is stored locally in SQLite, API keys are encrypted with AES-GCM, and there is no cloud component. Gateway middleware is pluggable and can be switched off, and a graphical interface based on Vue 3 and NaiveUI manages providers and routing rules and shows logs. The software belongs to the category of AI developer tools and local LLM gateways. The current release is version 1.2.1, and several versions are available in the catalog.

Tags: